disallowJavaScriptAccessClipboard

Disallows JavaScript to write to the clipboard using document.execCommand('copy') without the user activation.

Should you need to use navigator.clipboard, grant the necessary permissions explicitly using RequestPermissionCallback.

Throws

when the browser is closed